#ifndef NANE_D3D9VERTEXBUFFER_H
#   define NANE_D3D9VERTEXBUFFER_H

#   include "nane/RenderSystem/IRenderSystem.h"
#   include <d3d9.h>

namespace nane
{
    struct D3D9VertexBuffer
        : public IVertexBuffer
    {
        IDirect3DVertexBuffer9* pVB9;
        uint32 elementSize;
        IDirect3DVertexDeclaration9* pVertexDeclaration;

        D3D9VertexBuffer( IDirect3DVertexBuffer9* _pVB, uint32 _elementSize, IDirect3DVertexDeclaration9* _pVertexDeclaration )
            : pVB9( _pVB )
            , elementSize( _elementSize )
            , pVertexDeclaration( _pVertexDeclaration )
        {
            
        }
    };
}   // namespace nane

#endif	// NANE_D3D9VERTEXBUFFER_H
